<AppDatePicker
{{#eq ctrlType 'grid'}}
  name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
{{/eq}}
{{#eq ctrlType 'panel'}}
  name="{{item.name}}"
{{/eq}}
{{#eq ctrlType 'form'}}
  name="{{item.codeName}}"
{{/eq}}
{{#if item.psEditor.placeHolder}}
  placeholder="{{item.psEditor.placeHolder}}"
{{/if}}
{{#if (eq ctrlType 'form')}}
  :disabled="store.detailModel.{{item.codeName}}.disabled"
{{else if (eq ctrlType 'grid')}}
  {{#if (eq item.enableCond 0)}}
  :disabled="true"
  {{else if (eq item.enableCond 1)}}
  :disabled="!Object.is(record.srfuf,0)"
  {{else if (eq item.enableCond 2)}}
  :disabled="!Object.is(record.srfuf,1)"
  {{/if}}
{{else if (eq ctrlType 'panel')}}
  {{#if isMultiData}}
  :disabled="store.layoutModelDetails?.[`{{item.name}}_${data.index}`]?.disabled ? true : false"
  :value="store.layoutData[`{{item.name}}_${data.index}`]"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam, data.index) }"
  {{else}}
  :disabled="store.layoutModelDetails?.{{item.name}}?.disabled ? true : false"
  :value="store.layoutData.{{item.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
  {{/if}}
{{/if}}
{{#if item.psEditor.readOnly}}
  :readOnly="{{item.psEditor.readOnly}}"
{{/if}}
{{#eq item.psEditor.editorType "DATEPICKEREX"}}
  dateFormat="YYYY-MM-DD HH:mm:ss"
  dateType="dateTime"
{{/eq}}
{{#eq item.psEditor.editorType "DATEPICKEREX_NOTIME"}}
  dateFormat="YYYY-MM-DD"
  dateType="date"
{{/eq}}
{{#eq item.psEditor.editorType "DATEPICKER"}}
  dateFormat="YYYY-MM-DD HH:mm:ss"
  dateType="dateTime"
{{/eq}}
{{#eq item.psEditor.editorType "DATEPICKEREX_HOUR"}}
  dateFormat="YYYY-MM-DD HH"
  dateType="dateTime"
{{/eq}}
{{#eq item.psEditor.editorType "DATEPICKEREX_MINUTE"}}
  dateFormat="YYYY-MM-DD HH:mm"
  dateType="dateTime"
{{/eq}}
{{#eq item.psEditor.editorType "DATEPICKEREX_SECOND"}}
  dateFormat="YYYY-MM-DD HH:mm:ss"
  dateType="dateTime"
{{/eq}}
{{#eq item.psEditor.editorType "DATEPICKEREX_NODAY"}}
  dateFormat="HH:mm:ss"
  dateType="time"
{{/eq}}
{{#eq item.psEditor.editorType "DATEPICKEREX_NODAY_NOSECOND"}}
  dateFormat="HH:mm"
  dateType="time"
{{/eq}}
{{#eq item.psEditor.editorType "DATEPICKEREX_NOSECOND"}}
  dateFormat="YYYY-MM-DD HH:mm"
  dateType="dateTime"
{{/eq}}
{{#eq ctrlType 'form'}}
  :value="store.data.{{item.psEditor.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
{{/eq}}
{{#eq ctrlType 'grid'}}
  :value="record.{{#if dataItemName}}{{dataItemName}}{{else}}{{item.psEditor.name}}{{/if}}"
  @component-action="(actionParam:any) => { handleComponentAction(controller, actionParam, index) }"
{{/eq}}
/>
